home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 4994 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.9 KB  |  49 lines

  1. Newsgroups: comp.sys.cbm
  2. Path: undergrad.math.uwaterloo.ca!csbruce
  3. From: csbruce@ccnga.uwaterloo.ca (Craig Bruce)
  4. Subject: Re: Please Read: WHAT IS UUENCODING?
  5. Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
  6. Message-ID: <Dp95Ap.G9q@undergrad.math.uwaterloo.ca>
  7. Date: Tue, 2 Apr 1996 20:37:36 GMT
  8. References: <4jg85q$a7v@hasle.sn.no> <9603300104.AA0015t@cosine.demon.co.uk> <4jm0vr$289@hasle.sn.no> <31604203.4EDF@ludd.luth.se>
  9. Nntp-Posting-Host: ccnga.uwaterloo.ca
  10. Organization: University of Waterloo, Canada (eh!)
  11.  
  12. In article <31604203.4EDF@ludd.luth.se>,
  13. Watchman of FairLight  <watchman@ludd.luth.se> wrote:
  14.  
  15. >A short description of uuencoding:
  16. >
  17. >Take an array of 8bit data. Interpret the first 7 bits as a 7 bit ASCII 
  18. >character. Continue with next 7 bits and do the same. Repeat until end.
  19. >
  20. >This means that the source grows to approx 9/8 of it's original size. 
  21. >The std uuencode also includes a padding format which makes the 
  22. >uuencoded file easier to include in a textfile (fex mail).
  23.  
  24. This isn't quite right.  What uuencoding does is takes three 8-bit bytes of
  25. data and converts it into four ASCII characters by extracting four 6-bit
  26. quantities from the binary data (3*8 == 4*6 == 24).  The 6-bit values are
  27. added to the ASCII code for SPACE (32) and the resulting printable ASCII
  28. characters are used.  There is a little more formatting than this, but the
  29. above is the general idea.
  30.  
  31. So, the source grows to approx 4/3 its original size.
  32.  
  33. Keep on Hackin'!
  34.  
  35. -Craig Bruce
  36. csbruce@ccnga.uwaterloo.ca
  37. "Here is my bid to save the Internet:
  38.  its       : belonging to 'it'
  39.  it's      : contraction of 'it is'
  40.  there     : not here, but... there
  41.  their     : belonging to 'them'
  42.  they're   : contraction of 'they are'
  43.  argument  : no E after the U
  44.  John's    : belonging to 'John'
  45.  different : should be followed by 'from'
  46.  affect    : not to be confused with 'effect'
  47.  'i.e.,'   : 'ie.' is wrong
  48.  high-school students : the hyphen needs to be there!"
  49.